package helpers;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import wfm.entities.Worker;


@ManagedBean(name="remindWorkerController")
@SessionScoped
public class RemindWorkerController {
	
	private Worker worker; 
	
	
	public RemindWorkerController(){
		
	}
	
	@PostConstruct
	public void init(){
		//ticket hollen und worker hollen und hier rein setzen 
		worker = new Worker(1224, "Thomas", "Mayer", "7892345678"); 
	}
	
	
	
	public Worker getWorker() {
		return worker;
	}

	public void setWorker(Worker worker) {
		this.worker = worker;
	}

	public void finish(){
		//TODO brauchen wir die Klasse?
	}
	
	public void abort(){
		
	}
	
	
}
